<%-- 
    Document   : Jstl3
    Created on : 2014/8/18, 下午 02:16:19
    Author     : sally
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="y" value="5"/>



<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Jstl3</title>
    </head>
    <body>
        <h1>--[Jstl3]--</h1>
	<c:choose>
	    <c:when test="${ y>5}">
		Hello
	    </c:when>
	    <c:when test="${ y<5}">
		World
	    </c:when>
	    <c:otherwise>
		Hi~choose  
	    </c:otherwise>	
	</c:choose>
	
	
    </body>
</html>
